/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hvtt.web.models;

import java.io.Serializable;

/**
 *
 * @author Administrator
 */
public class SearchModel implements Serializable{
    private long iD=0;
   
    private String tuKhoaTimKiem="";
    private String hangXe="";
    private String doiXe="";
    private String userID="";
    private String dongXe="";
    private double soKMDaDi=0;
    private String tomTat="";
    private int namSanXuat=0;
    private int soCua = 0;
    private String mauNoiThat = "";
    private String noiThat = "";
    private String hinhAnh = "";
    private String mauXe = "";
    private int soHinhAnh = 0;
    private int soChoNgoi = 0;
    private int soNguoiDaXem = 0;
    private int loaiXe=1;
    
    
    private long hangXeID=0;
    private long doiXeID=0;
    private int tinhTrangXe=0;
    private double giaCaoNhat=0;
    private double giaBan=0;
    private String tinhID="";
    private String tienTeID = "";
    
    private String loaiXeBan = "";
    private String ho = "";
    private String ten = "";
    private String diaChi = "";
    private String dienThoai = "";
    private String email = "";

    
    
    public void Reset()
    {
        iD=0;
        hangXe="";
        doiXe="";
        dongXe="";
        soKMDaDi=0;
        tomTat="";
        namSanXuat=0;
        soCua = 0;
        mauNoiThat = "";
        noiThat = "";
        hinhAnh = "";
        soHinhAnh = 0;
        soChoNgoi = 0;
        soNguoiDaXem = 0;
        mauXe="";
        userID="";
        
        hangXeID=0;
        doiXeID=0;
        tinhTrangXe=0;
        giaCaoNhat=0;
        giaBan=0;
        tienTeID="";
        tinhID="";
    }
    public long getHangXeID(){return hangXeID;}
    public void setHangXeID(long hangXeID){ this.hangXeID = hangXeID;}
    public long getDoiXeID(){return doiXeID;}
    public void setDoiXeID(long doiXeID){ this.doiXeID = doiXeID;}
    public String getTinhID(){return tinhID;}
    public void setTinhID(String tinhID){ this.tinhID = tinhID;}
    public void setGiaCaoNhat(double giaCaoNhat){ this.giaCaoNhat = giaCaoNhat;}
    public double getGiaCaoNhat(){return giaCaoNhat;}
    
     public String getUserID(){return userID;}
    public void setUserID(String userID){ this.userID = userID;}
    
     public void setGiaBan(double giaBan){ this.giaBan = giaBan;}
    public double getGiaBan(){return giaBan;}
    
    public long getID(){return iD;}
    public void setID(long iD){ this.iD = iD;}
    public int getSoCua(){return soCua;}
    public void setSoCua(int soCua){ this.soCua = soCua;}
    public int getSoHinhAnh(){return soHinhAnh;}
    public void setSoHinhAnh(int soHinhAnh){ this.soHinhAnh = soHinhAnh;}
    public int getSoNguoiDaXem(){return soNguoiDaXem;}
    public void setSoNguoiDaXem(int soNguoiDaXem){ this.soNguoiDaXem = soNguoiDaXem;}
    
    public int getTinhTrangXe(){return tinhTrangXe;}
    public void setTinhTrangXe(int tinhTrangXe){ this.tinhTrangXe = tinhTrangXe;}
    
    public String getMauNoiThat(){return mauNoiThat;}
    public void setMauNoiThat(String mauNoiThat){ this.mauNoiThat = mauNoiThat;}
    public String getHinhAnh(){return hinhAnh;}
    public void setHinhAnh(String hinhAnh){ this.hinhAnh = hinhAnh;}
    public String getNoiThat(){return noiThat;}
    public void setNoiThat(String noiThat){ this.noiThat = noiThat;}
    public int getSoChoNgoi(){return soChoNgoi;}
    public void setSoChoNgoi(int soChoNgoi){ this.soChoNgoi = soChoNgoi;}
    public int getNamSanXuat(){return namSanXuat;}
    public void setNamSanXuat(int namSanXuat){ this.namSanXuat = namSanXuat;}
    public String getHangXe(){return hangXe;}
    public void setHangXe(String hangXe){ this.hangXe = hangXe;}
    public void setDoiXe(String doiXe){ this.doiXe = doiXe;}
    public String getDoiXe(){return doiXe;}
    public String getDongXe(){return dongXe;}
    public void setDongXe(String dongXe){ this.dongXe = dongXe;}
    
    public void setMauXe(String mauXe){ this.mauXe = mauXe;}
    public String getMauXe(){return mauXe;}
    public void setTienTeID(String tienTeID){ this.tienTeID = tienTeID;}
    public String getTienTeID(){return tienTeID;}
    //public void setDongXe(String dongXe){ this.dongXe = dongXe;}
    public void setTomTat(String tomTat){ this.tomTat = tomTat;}
    public String getTomTat(){return tomTat;}
    public void setSoKMDaDi(double soKMDaDi){ this.soKMDaDi = soKMDaDi;}
   public double getSoKMDaDi(){return soKMDaDi;}

    /**
     * @return the loaiXeBan
     */
    public String getLoaiXeBan() {
        return loaiXeBan;
    }

    /**
     * @param loaiXeBan the loaiXeBan to set
     */
    public void setLoaiXeBan(String loaiXeBan) {
        this.loaiXeBan = loaiXeBan;
    }

    /**
     * @return the ho
     */
    public String getHo() {
        return ho;
    }

    /**
     * @param ho the ho to set
     */
    public void setHo(String ho) {
        this.ho = ho;
    }

    /**
     * @return the ten
     */
    public String getTen() {
        return ten;
    }

    /**
     * @param ten the ten to set
     */
    public void setTen(String ten) {
        this.ten = ten;
    }

    /**
     * @return the diaChi
     */
    public String getDiaChi() {
        return diaChi;
    }

    /**
     * @param diaChi the diaChi to set
     */
    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    /**
     * @return the dienThoai
     */
    public String getDienThoai() {
        return dienThoai;
    }

    /**
     * @param dienThoai the dienThoai to set
     */
    public void setDienThoai(String dienThoai) {
        this.dienThoai = dienThoai;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the loaiXe
     */
    public int getLoaiXe() {
        return loaiXe;
    }

    /**
     * @param loaiXe the loaiXe to set
     */
    public void setLoaiXe(int loaiXe) {
        this.loaiXe = loaiXe;
    }

    /**
     * @return the tuKhoaTimKiem
     */
    public String getTuKhoaTimKiem() {
        return tuKhoaTimKiem;
    }

    /**
     * @param tuKhoaTimKiem the tuKhoaTimKiem to set
     */
    public void setTuKhoaTimKiem(String tuKhoaTimKiem) {
        this.tuKhoaTimKiem = tuKhoaTimKiem;
    }
}
